improved deploy