Fixed the SQL file to use proper syntax, worked on a couple of classes