adding conditional logic for grunt install