Nest credentials file in if, that should only run on local