added script element, some tests