Fix runOnDevice script to launch adt application