added automated download (not finished)
modified TS3 detection