adding CORS support for sender/selected.