Refactor the script task to conform to current coding style
Merge pull request #457 from pcwalton/refactor-script

Refactor the script task to conform to current coding style