added bootstrap_flash helper to fix known issues