There is no need to convert objects and scripts. The recommended approach is to define a parameter for the initial URL. Check out this article for more details.
The main idea is to have a Navigator.Open action at the beginning of each test case.
For example:
Navigator.Open(Tester.GetParam("EnvURL"));
Navigator.Open("https://libraryinformationsystem.org");
Navigator.Open(EnvURL);
RVL version:
