changed way to access variables in html, added production gem