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.