Why it is giving error?

#!/bin/bash

/usr/local/bin/dronekit-sitl copter --home=25.462249,78.641589,0,180&

sleep 5

/usr/local/bin/QGC.AppImage 2>/dev/null&

sleep 5

screen -dm mavproxy.py --master=tcp:127.0.0.1:5760 --out udp:127.0.0.1:14550 --out udp:127.0.0.1:5762

/usr/bin/python “$1” --connect 127.0.0.1:5762

function finish {
kill -9 $(ps -eF | grep QG | awk ‘(print $2)’)
kill -9 $(ps -eF | grep ardu | awk ‘(print $2)’)
kill -9 $(ps -eF | grep mav| awk ‘(print $2)’)
}
trap finish EXIT