Beginning to write the ruby scripts