Define bootstrap_flash_helper inside