Modified some Ruby scripts, added old Groovy scripts.