update the post-commit hook to be more error tolerant
try to not die on windows
also save location because that is kind of badass