Fixed Dependencies

Moved Alter Table commands to end of file to fix dependancies. Fixed Typo