initial work on pre-ruby script