Added support for interleave/leave output specification