various small changes. script updates.