Add option to set base URI for all scripts.