At times the automation code we have in our repositories needs some refactoring. Unfortunately, in some cases, bad code does not get improved before committing it into the code...