Added install hook and fixed info hook