Add license header
Improve error handling in export bundle form