script to find unpublished offers