automatically fix Mobile Substrate if required script does not exist