This helps us get rid of postBuild completely, and possibly lets us publish this as a package that can be used elsewhere