Fixed another problem with deploy scripts.