set the right directories