added publishing to dataset agent