Modify gruntfile and templates for Grunt v0.4.