post-build substitution script