add script functon

you can use script command to send command script to deploy