Added configurable IC2 support to grindings