SQL Script Updated