Fixed scheduling and added more preferences.