revert to edb52c880028c280cdaaf1b0591276f4c00f6fac
better deploy with error checking