Pyload fixed typo
Pyload added wait check