Setup var-dir