Fixed a bug

The output argument (-o) value was not being used as the output file