Restore 3G and NOT update to iOS4

Best Buy got more iPhone 4's in yesterday and I picked up my preorder. It's freaking awesome.

I already sold my 3G on ebay and am ready to restore it and then pack it up and ship it out. But when I hit restore the only option is "Restore and Update", in the description it says it will be updated to the latest OS. I do not want to put iOS 4 on the 3G, as per request of the buyer. How can I restore with 3.1.3 OS?
nvm, got it.

Original thread: https://forums.imore.com/threads/restore-3g-and-not-update-to-ios4.192924/