Changed server to process.env