Batch appium commands

I found a way to batch appium commands using executeDriverScript as shown here:

executeDriverScript is not available by default in my appium and I am just not sure how to use this. Could someone who has used it help out? Thank you

it is written in your link - start appium with:

appium --allow-insecure=execute_driver_script