Added haml
Added fix for console mode