Implement execute_from_reader