modified scratch directory path for hive