Fixed bug that outputted undefined if shell.writeOutput was called with no arguments