Added more functionality to CTSS scheduling