SSMSExecutor modification to work with go. Please forgive my poor C# coding