use script_root in absolute links to support subdirectory URLs