fixed some errors where the tables wouldn't drop

Also made it call the inserData.sql to fill it with data