Fix two issues when a hardcoded output file was entered
Get rid of some useless code as well as commented out lines