Modified photocrumbs.py