Added a guard setup to do the haml compilation