set up directories