I know it is not your code. But could you at least refactor any SQL queries to use queryDB() instead please