set right directories