added ruby & rscript support