added embedded script