Increades reliability, added shutdown option