output file paths are now formated correctly