set up directory