photo gathering script complete