Properly read options for submodules