Updated hooks for Grunt build.