added emergency switch to handle any host errors made by Dario