better relative scheme handling for url settings
make scriptBase one of url settings