Directory setup.