moved :bucket=> ENV['AWS_BUCKET'] line in config/environments/production.rb into the :s3_credentials hash