Modify rps.rb (add 'end' to Module)