Small changes to adflash