corrected the VAR objects and made the csv read in even if wd() different