added --env flag for dynamic node_env