Added show stats and record inserted to output
Made index column name lower case too