added hook and gitignore update