add extension helper for posting messages to registered ports (tabs)
on port connection, notify tab with new commands
combine sync and save commands
in scripts, update commands accordingly