Incorporate script into html