Embedded scripts fixed