My previous line wasn't working, this does but doesn't index submodules