revision/rearchitecting of photo booth script...