With APC you need this pricey unit:

https://www.apc.com/shop/us/en/produ...ect/P-SMC1000C

I have the consumer version, half the price. I see yours is similar price to what I have. They also make a smaller one, but need to check if it also runs scripts. Better read the manual.