Routing patch variables through a variable manager