Removed the defer object and just kept the event once the manifest is set.