Added version grabbing and confidence functionality

Added version grabbing and confidence functionality.  The "env" check was removed for now so we can add it later when we figure out how best to do that.