| > !Territory.!Run

If "<Territory$Dir>" = "" Then Set Run$Path <Obey$Dir>.Library.,<Run$Path>
Set Territory$Dir <Obey$Dir>

| Open directory if in desktop
If "<Wimp$State>" = "desktop" Then Filer_OpenDir <Obey$Dir>.Terrs
If "<Wimp$State>" = "desktop" Then Obey

| Check if territories have been loaded
RMEnsure DummyTerritory 1.00 Repeat RMLoad <Territory$Dir>.Messages

| Replace territory manager messages file
Set TerritoryManager$Path <Territory$Dir>.Utils.
RMReInit TerritoryManager

| Select territory
WimpSlot -min 32K -max 32K
Run <Obey$Dir>.Utils.Choose

| Load territory
Set Territory$Path <Territory$Dir>.Terrs.!<Territory$Name>.
If "<Boot$OSVersion>" <> "" Then IfThere Territory:<Boot$OSVersion> Then Run Territory:<Boot$OSVersion>
Run Territory:!Run