Updated SQL Scripts