Hi there i have written the following code in C# and was wondering how i can output the script between the <Head></Head> tags i cant use literal as using master page

Code:
            StringBuilder script = new StringBuilder();
            
            script.Append("<script src=\"/js/dw_rotator.js\" type=\"text/javascript\"></script>");
            script.Append(Environment.NewLine);
...