change dirs of modules