scripts for unique counters