shell script cleanup