changes the paths