for heroku added rails 12 factor gem and adjusted image paths