Trying to commit tools in c#