Revert change to embed.py - it broke things...