change dir path structure