A match building script built in cake