Adding Pre Restart Action Hook