Added submodule support that probably doesn't work