Fixed deploy scripts (hopefully)