main now writes test schedules to flash