Hande tables other then the test table

MySQL only worked for the test table. 

This gets the table name from the config so it'll work universally.