Fixing the script to be run from the script directory.