Correctly match variables to be exposed at the beginning of PaperScripts.