Corrections to deployment logic