changes r.sh to include libraries into classpath