Added beta buildType to the gradle build file.
Added code to change the output file name.