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