Adjusting activation to allow cross-origin request