print dataset to console after script execution.
fixing output