removed setwd call