refactored grunt configuration