modify kernel-script for schedules