Fixes with new scripts and UFAL sge