modify code to related path, to related/root/install version