Merging the two polisher scripts to one.