Revise apt_history.sh