contentID Analysis Scripts - Shell version