Made ExecuteCommand public