Added node expansion output for enableOutput flag