removed all commented out legacy code to clean up the small script.