Scirpt fixes and hive 13 decimal behavioral changes.