added rake task to get match ids