Made the publication script a but more bullet proof
print->logging.info