Don't use temporary tables for now so that we can see what's being inserted into the database to debug.