setup public directory