Add license to hook file.