Revert "Remove unnecessary metadata duplication in Script*."

This reverts commit 74785ec517941989cb9dc51aca3aab58a21bfa10.

It turns out that this information is really necessary for knowing whether
cleanup passes need to be performed during compile().
3 files changed