Updates to commands for gradlew and spark-submit