Respect SERVER_REGION
in more targets and fix various bugs
#369
+72
−71
SERVER_REGION
in more targets and fix various bugs
#369