Auto detect system