add write to shell