add pre-build event