add hookfile