Flag support for Characters (temporary variables,) script improvements