KKpi: ganga scripts bugfix