added riscript2.js