Rework source introduction metadata; add access for script's global.