finished the first version of the script makeScript.rb