Added base URL support for external plugins