Added some CORS code