/postdata now works as intended, but lacks error checking. Fixed runQuery calls missing the res argument, as well as Copy and Paste error in SQL Insert statement.