Sorry for the late reply, weekend break. Thank you all so very much for your responses. Ive refactored, extracted the repetitive code into one method, tested it till it bled and for good measure created a new user account to restrict any fallout. -- Posted via http://www.ruby-forum.com/.