script to assign unique thumbnail to every collection