Kudu's deployment script logic