Improved execute method in grunt ci tasks