refactored iomicrobench scripts