Fix command line script for cases when HIVE_HOME isn't set