Add check submodule and build script