Completed upgrade script for Redshift