Fix maint script