Postsale script broke some custom extensions (#643)