Correctly set server and fix manifest detect logic.