fixes so deploy scripts can be run