make sure the script can run locally as well.