creating script to make tables
minor changes
minor changes