further changes to the scripts