modified hook file license