refactor
refresh log when executing only