set outpath to out