changed setwd()