grunt configuration to set the task to run based