added script tags to end of file