add log for execution of commands