Remove more pieces of setRoot.  Add pointer to allocation lookup for scripts.

Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
7 files changed