Slight modifications to translator so now outputs labelled "output" for command line purposes