sweep script updates