more changes to SPARK_HOME_DIR