fixed deploy scripts