added test for local Hive scripts
raise specific error when data not supplied; fixed example script