Auto-generate an output if there isn't one passed