Set sensible defaults for root and var