Fixed sid upgrade script