The template deals with scriptList, and remove the redundant countTask