embedder script ready