fixed deploy script so that it works on redhat