various script updates.