Fix issue with outputting command.