Add template script and update README.