Fix INSERT to use table from config