updated the parameters
move the logic of UAV_AI to the outside of the main loop
setup to be flexible to integrate new UAV_AI