Conditionally execute continuation functions (stages) depending on the requested url