minor changes to sh scripts