added shutdown options