make deploy scripts workable