Adding gram logic tasks back in