add the plot scripts
initial cut for policy generator
Policy gen with related changes