Detect the path, rather than assuming