changed AUTODETECT to AUTOLINK