setup working directory