Fixed post-commit script