More portable code more config stuff ...