refactored gruntfile