tweaked for Agent I/O deployment