removing bashisms
clean up
clean up
clean up
clean up
clean up