make it work both on local drives and network drives, fix submodule path