better publish-transitions script