Updated before script to set NODE_ENV.