fixed AfterBuild overwriting
Merge pull request #2 from ursenzler/AfterBuildFix

fixed AfterBuild overwriting