Fix script

Gradle script doesnot work.  The script works with the changes