added console.log for NODE_ENV