Updated to add in the action id for use in a cron task