fix maintainer scripts