add flash to app