redirect_tool - cwd added