Have shell script follow symlink

This is so a symlink to the script can be placed in a directory such as `/usr/bin` and function correctly.

Assuming that this doesn't break anything on OS X.