Removed U10 script
Clean up and add comments.
Change docstring