add AI script functions