added autodetect support