scripts to make it easier to use policies in c++