Config out dir from an external variable