cleaned up sql file