Set Bookworm$Dir <Obey$Dir>
Set ROManual$Path "<Bookworm$Dir>.^.Manual."

Set Obey$Leaf !Bookworm
Iconsprites <Bookworm$Dir>.!Sprites
Set File$Type_FAF HTML
Set Alias$@RunType_FAF Run <Obey$Dir>.!Run %%*0
Set Alias$@PrintType_FF4 "Copy %%0 Printer: ~A ~C ~D F ~L ~N ~P ~Q ~R ~S ~T ~V"
Set Bookworm$Path <Bookworm$Dir>.

Set System$Path_Message System resources not found. Please run !System before !Bookworm

| Set up the URL Modules

%Set New_URL_Mod$wanted  FALSE

RMEnsure URL_Fetcher 0.12 %Set New_URL_Mod$wanted TRUE
IF "<New_URL_Mod$wanted>" = "TRUE" Then RMLoad System:Modules.Network.URL.URL
RMEnsure URL_Fetcher 0.12   Error You need URL_Fetcher 0.12 or later to run Bookworm

RMEnsure FileFetcher 0.16   RMLoad System:Modules.Network.URL.File
RMEnsure FileFetcher 0.16   Error You need FileFetcher 0.16 or later to run Bookworm

IF "<New_URL_Mod$wanted>" = "TRUE"  THEN RMReinit FileFetcher

%Unset New_URL_Mod$wanted

*WimpSlot -Min 352k -Max 352k
Run <Bookworm$Dir>.!RunImage %*0
