Small changes to sql file