Adapt maintainer scripts with the new structure