Per default behavior, a document distributed by publisher (note Publisher, not in a QVS reload where no Publisher license is activated), that is when the document is reloaded from source document to user document, the script will be stripped for security. I want to remember a setting that overrides this behavior, but I cannot swear on it.. Maybe it's just in my mind. Maybe someone else can verify or deny this.
Re: View qvw Script when downloaded thru access point
Hold on a second, this is probably not going to come back. You have to consider the script a part of the back-end of the architecture, and to publish that to the User Document (front-end resource) is not something you want to do.
I'm guessing this is exactly why it was removed, since it is very much by design that a distribution of a document strips the script and connection strings and such, before "exposing" the document to users.