Some changes to the sql file