fixing issue on excution, add propert path for agent registration,
added attributes retrieval