I have a vague recollection that there is an ID or a GUID or something that needs removing from the script (to allow the new server to assign a fresh ID). Can't remember what it was though ... hang on let me check a script from the last server migration we did ...
Hmmm ... my notes in the script say:
Change script so all jobs are DISABLED (and then ENABLE them once everything else is ready, so the jobs don't start prematurely!)
Make a report of which ones were originally Enabled / Disabled - so don't accident enable a disabled one!
-- Check all @notify_email_operator_name exist!
-- List: EXEC msdb.dbo.sp_help_operator
However, I can't see any obvious ID that I commented out ...