set app environment explicitly from process.env.NODE_ENV