Command Not Assigned in a Block
Your first
script command
appears before a
label
command.