Added change-location function.