tophat script