Change the export sha script to use a clone/checkout to be able to submodule