Added an icon to the docset bundle and refactored script