moved main below eBaySearch function