Add SCRIPT_DEBUG supprt
Use RAILS_ENV instead of production when writing database.yml