improve substitution of hiveconf variables
adjust spark path in config file