Added shutdown script
Added panic scripts