Better paths, and less shell trickery