This question can't be answered with a simple yes/no, but I would say that the analogy of DNA being the "code" used by cells is a reasonable one, if taken with a number of other considerations.
When Watson and Crick first described the structure of DNA (being a double-stranded sequence of the nucleotides Adenine, Cytosine, Guanine and Thymine) this led to what is known as the Central Dogma of Molecular Biology , which posits that DNA makes RNA makes Protein (figure from , as originally produced by Watson).
As you correctly point out, less than 2% of the genome is protein-coding, however our understanding of the rest of the genome is increasing manifold due to projects like ENCODE , which are discovering not only the "regulatory" regions that control the expression of protein-coding genes, but also the discovery of non-coding RNA's, many of which are totally uncharacterised .
The point of this section is to clarify that although only 2% of the genome codes for protein, it is incorrect to say the rest is "junk" or non-functional. The Central Dogma described above is now an outdated model - certainly some DNA makes RNA makes Protein, but not all; many RNA molecules are functional in their own right.
You could argue that proteins and non-coding RNA molecules are the product of "scripts" in the DNA that are run or performed by cells, although you are unlikely to find any genomic scientists talking in these terms.
Where the analogy breaks down is that all* the cells in an organism have the same genome, yet they are vastly different to one another. These differences are due to epigenetic processes, which are described as non-coding modifications to the DNA that affect expression of transcripts. A basic overview can be found here .
These modifications come in several forms and include:
- DNA methylation
- the addition of a methyl-group to cytosine nucleotides that can affect binding of transcription factors etc,
- Histone modifications
- DNA is actually a 3-dimensional structure, and is wrapped around proteins called histones, which wrap together to form chromatin and the characteristic chromosomal structure.
The availability of DNA to transcription factors is completely dependent on these modifications to the DNA, which are specific to individual cell types and prevent retinal cells, for instance, expressing liver enzymes. (Below figure from )
In short, genetics and the DNA sequence can certainly be thought of as the blueprint for an organism - changes to this sequence can profoundly affect phenotype - however it is too simplistic to imagine that the sequence alone provides all the information needed.
Not only are there many non-coding molecules essential for functioning in cells, there is exquisite control over expression by DNA modifications that do not affect the sequence of nucleotides and are essential for cellular differentiation.
The ENCODE (Encyclopedia of DNA elements) project  is making headway into the interpretation of the non-protein-coding elements of the DNA, but there is still a long way to go.
* not quite all, for instance B-cells have a hypervariable region to enrich antibodies for variation 
- ENCODE Project Consortium, “The ENCODE (ENCyclopedia Of DNA Elements) Project.,” Science, vol. 306, pp. 636–640, 2004. PMID: 15499007