Added restart function (ENTER).
More automatic scripts using Json files.