Fixed issue with node_env not being set