Adding SparkContext to plugin run method