further changes to supporting scripts