updated changes to several scripts