make google cloud deploy scripts more stable