Put it in your home folder (~/[your name]), and then go to Terminal.app, type "chmod a+rx [file name]" without quotes, and then type "./[file name]". Fill in whatever you call the main file.
Why? Solution?
To help you I've rewritten it and you should be able to use it on Mac.
https://github.com/yogsototh/get-shit-done
Happy working! Do not hesitate to ask me if something goes wrong.