ads remove and compact changes for cron job