work on sqlite migration script
Fix up message broadcasting