Mission Planning for a Team of UAVs in a Dynamic Scenario