Updated script and fixed some VM comparisons.

Signed-off-by: Christian Gunderman <christian@sonofboss.cwru.edu>
Implemented to_string(), to_boolean(), and to_number() functions