Managing Priorities and Deadlines