move script to template
change Gruntfile to latest version