Added shutoff script and correcte chmod