Get correct config string