updated web server script to have staging and production