Add command-line script to update a template