update postbuild script