Added activation of script to the haml file