Small fixes to make install easier
Add sql code to update sequences
Add sql code to update sequences
remove view test code from sql
Add sql code to update sequences