Updated core to work with Scheduled Workers