optimized some grunt tasks