Script for Version 7.15.1 ( Open VPN )

i created a script for open vpn users
the script run correctly but i need the function to call the export button located in the open vpn server
then i will assign the ip and each certificate in the script

i need also the firewall rule for the open vpn server to allow the users to access the lan