added var to enable hard restart