Simplify doflash