Various changes to allow external bots to be run in new process from data pipeline