Improve format
Allow origins
Manage assets correctly