modify main paths