append cat command to command hook