Improved embed using absolute paths