Use inputted directories