Customizing rake task that retrieves routes.