#!/usr/bin/env ruby dir = File.dirname(__FILE__) $:.push File.expand_path('../lib', dir ) require 'oats' if $oats_execution['options']["_:agent"] Oats::Driver.agent else Oats.run end