Adding AI wave controller script