improved deploy recipe