Detect name and version