updated wordcount scripts