Fixed script location, now also works for symbolic links.