Setting up directories.