improved deploy sh