Make functions local to the script