Scripts, Plans, Goals, and Understanding: An Inquiry