embedding using script