Due to Script Identity, you cannot read or write the contents of a script(.Source). Plugins have this ability however.
.Source