modifications so extension can be published