allow script to run from a symlink