Added setCvar method