implement new subflow mode using 'subflow' tags