Enabling console.log() on AI script