add basic regex for zip and add flash errors