Added support for SLD base directory