factor out common parts of the scripts
update analyzer