changed variables.framework.routes reference in processRoutes() to getRoutes()