added p2g_model script for testing outside of Arc