refactored templates to haml
Changed bang to env ruby to be more compatible with other systems