Unable to get script working when I need it to

I’m trying to get a script to work on boot, but I’m having problems.
I want the script to execute after I have got an internet connection as they will be useless if executed before.

I want the script to do three things;
1 connect to a VPN
2 start onedrive (using dolphin, I can access my MS OneDrive folder(s)
3 start GoogleDrive (same as #2)

Yet, when the script is run, nothing happens.
The script

#!/bin/bash
sleep 30
expressvpn connect ukdo
onedrive-d start
google-drive-ocamlfuse /media/pooky2483/EXT-05-8Tb/Google-Drive/

I would also like to be notified which command is being executed, possibly by way of some kind of on-screen message.

does running those 4 commands work if run manually one after the other in a terminal ?

and does Kubuntu use “konsole” as the terminal ?

Yes

and does Kubuntu use "konsole" as the terminal ?

Yes

Why not add the lines one at a time to your script

so

#!/bin/bash
sleep 30
expressvpn connect ukdo

run the script and see if it connects to expressvpn

if it does, make it read

#!/bin/bash
sleep 30
expressvpn connect ukdo
onedrive-d start

and if that works

#!/bin/bash
sleep 30
expressvpn connect ukdo
onedrive-d start
google-drive-ocamlfuse /media/pooky2483/EXT-05-8Tb/Google-Drive/

to get an idea where it’s failing.

do any of those commands require elevated permissions ?

I’ve discovered that expressvpn has a command which I can set so it automatically connects when it gets an internet conenction, so I can drop that one from the script.
I think I’ll have to find out how long it takes for my PC to boot up and obtain a connection, then adjust the ‘sleep’ accordingly.

I’ll have another go when I’ve finished backing up all my files… May be a little while…