This could be an async script that waits for either manager to exist and then returns true if the AppWindowManager is preset, and false if not (v1.3). This would make the previous Wait unnecessary.