Added commit hook to generate single script