tweaks to stormflash to become compat with new stormagent