created get matches script