improve dispatching of programmatic automation config