Clean up the existing script for readability.
Merge pull request #9 from dak180/topic/cvs

Clean up the existing script for readability.