Modifying sql creation script and listview.