Fixed deploy scripts