Added asReference checkbox for outputs