fixing output file location...maybe?