env recipe; fix deploy flow