refactor script task hyphenate and underscore