switching config NODE_ENV logic
Merge pull request #1 from kristofmic/sprint

switching config NODE_ENV logic