support multiple instances running on one codebase