added oauth for gen script too