Made changes to mysched.c