add serverside configuration detection