modify module location variables.