[bar] Update scripts to work with the latest version