Fixing datetime issues.  Fixing command output