added script tags and input field