Modified to take a variable branch name
split out deleted files
update to take arg and store hash in db
add set -e so it would break on error