Adding IP list to VPN policy routing for OpenVPN connection

Hello. I set up OpenVPN on my router and set my default gateway to WAN. And I want my list of IPs traffic from file go through OpenVPN connection. But I 'm getting 'Error running custom user file '/etc/'
This is my File:




if [ ! -s "$TARGET_FNAME" ]; then
curl "$TARGET_URL" 2>/dev/null > "$TARGET_FNAME"
if [ -s "$TARGET_FNAME" ]; then
awk -v ipset="$TARGET_IPSET" '{print "add " ipset " " $1}' "$TARGET_FNAME" | ipset restore -! && _ret=0

return $_ret

Also I want netflix traffic go throun VPN as well. Default file '' is set to wan, so I change only TARGET_IPSET from 'wan' to 'tun0', and after that I'm getting same error 'Error running custom user file '/etc/'. What am I doing wrong?
Sorry for stupid question

Upgrade to PBR which is successor of vpn-policy-routing.
There is a preset for netflix, you only need to switch it on.

I upraded to pbr. My Default gateway is openvpn, but when i switch on netflix preset all traffic is still going through openVPN, including netflix

Please run the following commands (copy-paste the whole block) and paste the output here, using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have

ubus call system board; \
uci export network; uci export pbr; \
uci export dhcp; uci export firewall; \
ip -4 addr ; ip -4 ro li tab all ; ip -4 ru; \
ip -6 addr ; ip -6 ro li tab all ; ip -6 ru; \
ls -l  /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/* ; head -n -0 /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/*