fix deploy to be sh compatible