added build for flashing directly