removed setwd funcion