added restart option