major shell script updates