streamlined Gradle cmds in build.gradle, and added EMR script