fix output and remove require_relative