Added root detection, restores are relative now to the root folder.