I stll cannot connect to any UK servers using IvacyVPN (never Have done ) other country's do work well the majority I have just opened up a ticket with them see if they can update the OpenVPN-Configs.
Nothing to do with your script.
create a path where to save configurations vpn provider do not change file extension must remain original.ovpn in the plug and you can set data configurations in a single folder ,you can set resolv.conf script that will use dns provider vpn having more security and stability