ensure LOGS, photos folders exist, add giant branch stopping condition