ec2 node server was starting before env variables were set