Moves path loading to map.