fixed the queries to where they are cross-platform, and then also uses the jdbc driver now