Improve postbuildevent