finalize environment.rb for production