Added fix for removing the path from path to tags
Added documentation