Load custom SQL correctly; get rid of `ip` stuff

I have no idea why someone thought there was an `ip` table.