added code to support multiple CVs; setup south