Fix post deploy scripts