Adds check for process.env.PORT