Added -e option to echo command to enable backslash escapes in /bin/bash.
See similar issue for git hook : https://github.com/eirc/git-hipchat-hook/issues/5