add less hook