added oauth for async script too