DRY out the site and inventory flags