minor: more fixes to deploy scripts