Re-added settings.rb using environment variables