VAR name in script was wrong