deploy mostly working