edited to fix script git_hook