Fix deploy scripts.