Fix tools:run context issue