creating a generic post build process