Added new 'restart' feature to init script.