remove all references to hooksrc