Change scheduler to deadline