Updated sql scripts to reflect table design changes.