improved deploy scripts