add script to rewrite R.java