change require to require_relative for ruby 1.9+ compatiblity