Pi 3 B+ and onboard bluetooth after reboot

Hi,

I’ve a Pi 3 B+ and am using the onboard Bluetooth (so far without too many stuttering problems etc…!) but I have had to do this outside the OSMC GUI. So far I have followed a couple of posts to install rfkill to remove the softblock on the hci0 device and then a2dp to scan for and connect to the BT speaker, so far so good!

What I’d like now is for all that to happen automatically, so it will connect to the BT speaker automatically, whenever it discovers it, including after a reboot but that’s where I seem to be falling down, any assistance much appreciated.

Cheers.