Ensuring paths exist