source filename instead of calling it as if its an executable (facts.d script parser) and updated tests to support code change