added an extension to pass the AI type into subprocess players