Merge pull request #168 from jrconlin/master

Added alter table sql; more debug
Merge pull request #178 from jrconlin/dev

Issue 171