BC script upgrade