set base dir similar to how ecstatic does