added silly if statement to run python script on server