fixed up paths and output file for kiwis