New Changes to sql script