updated post-flight script on pkg installer