Revert logic which retries the location where the script is.