ensure the script runs using an absolute path