added logging of commands