Added alter table sql; more debug