- Fix cwd assumptions, pre-commit always starts at the repo base - Fix subprocess calls for python3 - Extract repository info from 'git config' - Refactored into separate functions and __main__ part - Use fileinput module to modify README