. "All variables i am attempting to assign are in string form and have worked in a test script i made that does everything the same except substituting the strings within my query." . . .