aded Rails.env to check for development vs production