the error is it isn't looking in the correct place for variables. move all of you var_***.cgi files into the cgi-bin and CHMOD them 777