post-commit for taking a photo after each commit