add ignoreRoutes option