Add support for old PostBuildScript