Go to scripts tab, have 2 scripts: Script1 and Script2 both are execution scripts.
Select Script1. Click Properties tab. Change type to definition script. Click Script tab.
Select Script2. Click Properties tab. Type of Script2 also changes to definition script.
Select Script1. Change script type. Select Script2. Select Script tab. Then select Properties tab. Same thing happens.