Scripts for Adrian's photo trees