add base dir confiuration.