Updated wakeup to allow cross origin request for site.