Improve eric_log and more commands