--BRES-20, added enable disable and upgrade script