Fixed the discovery door problem

Discovery now seems to work.