better condition for use with out of band sync script