custom attributes(facts) handler

added handler, test, and deployment fix