moving the scripts into the spark-core project