system log
if arg.strip() == "${saved_entry}":
if arg.strip() == "${saved_entry}" or arg.strip() == "${next_entry}":