LED and shutdown code added.