Add commit statement so last table is built