If you AI folks would spend more time reading actual semantic/episodic/working memory literatures, you wouldn't have to "invent" all these old ideas from scratch, over and over.
Scripts are mental templates for routine situations. They are super important construct supporting memory and learning.
'''Our key insight is that many everyday social interactions may follow predictable patterns; efficient "scripts" that minimize cognitive load for actors and observers, e.g., "wait for the green light, then go." We propose modeling these routines as behavioral programs instantiated in computer code rather than policies conditioned on beliefs and desires. ''' yet, as far as I can tell, did not cite the relevant literature.