Refactoring deploy scripts in place, without effecting the old execution order