You could pass a querystring parameter to Script.aspx (which will help you identify that it was called from WebPage.aspx).
Server.Execute("script.aspx?xFrom=webPage.aspx")
EDIT: I think the Request should have some value in it for you to know that it is running webpage.aspx.
EDIT2: Request.Url?