modified to automate tasks with Grunt