Add commit hook and link scripts