edited to run on ufal cluster