small changes in supporting scripts