It would be proper solution of your problem. Hope you will find it easy to use.
http://trainingshell.com/view_tutorial.php?id=31

Sincerely,
Paulcage