add initial copy of ruby scripts using rest not curl