EARNOUT AGREEMENT AND AMENDMENT TO SHARE PURCHASE AGREEMENT