Fixed auto detection bug and updated readme