add template script for spacing classification