replaced AfterBuild task with a custom one