refined embed script etc