may be under File|Map Prop.
save map at first and open Map prop-s dialog.
you can add script to map there.