updated working compilation of flash