working flashing blocks

Signed-off-by: Jamie White <hello@jamie-white.com>