made submodule config readonly and replaced duplicate config entries with a pointer value