script for tag dispersion