Make splitting work regardless of cwd