Fix license headers
Make disposition-type configurable, close #522