add flashing to python helper tool