initialize directories