Add auto shutdown script