preparing parser embedder script