Make backwards compatible detect server config