rename pre-commit to script
replace with hook variable
add ability to get hook arg