Create rScript