fixed shell script logging and cache-killing, as well as added echoes