Added AIDirector functionality