Finally added all the root directory changing goodness.