Made scheduler work for time trials