sending script to rb