Fixes so that it works using execute()
Update to use gradle dependencies instead of execute()