added rcode.sh