Fix IO_SCHEDULER function, cat was returning all shedulers and not only the active.
Code cleanup