Changing the path type