Command changes, few calculation changes.

Signed-off-by: Michael Howe <mike@mcsnetworks.com>