Some comments here would be helpful.  `execute_async_script()` is not the most clearly-named function :)