updating to handle submodules and autopopulating core parameter