adapts script to new sbin/ location in spark 0.9.0