added variableLogic program for quickly processing giant logic piece as specified in setvars