Simplify path setting