fix(scripts): updating extract upstream script