Added autodetect version