Added downsampling, numLangs options; consolidated writing predictions; integrated game script