Add hook file