The Evolution of a Script or why I am constantly refactoring my code.