Updated to insert validation

Updated script to properly insert validation ranges into the result.
Also changed boolean sources to actual bool data types (vs string), and
changed the Number to int vs. long.