flash automation