What do you believe are the most vital steps to modifying an existing, but inefficient or defunct program?

Week 3 -Discussion 1Program Planning and ModificationHow do you determine when a program modification is necessary? What do you believe are the most vital steps to modifying an existing, but inefficient or defunct program?