Updated queue script to flush cache and ping tags page.