updated path separator so only added for prefix additions.