yep good call, but what about changing the prior line?

    val sparkHome = sc.getSparkHome()