minor updates
minor update to mysql index script.