changes to update flow to prepare for gazzlab