smarter grunt task configuration