[AssetsManager] Fix script issue