added AI script