fixed the working directory and data import