set up proper directory