convert ruby 1.9 style hashes to 1.8
add require_relative functionality