add script tags from stack overflow