Oops forgot the async script helper function