Big thank you too all of you guys for such a response. This helped me 
alot and my script is working, but I will practice more using your 
advices :)

-- 
Posted via http://www.ruby-forum.com/.