some untested fixes for the deploy command

used via composer command integrator