Merged code to read V1 configuration