setting up directory