added run-time integration of chat scripts