Rpi hangs when using autostart.sh