Correct register agent Grunt task