fix deploy scripts