adding post-commit

Use this for imagesnap