Update adm.py

Config file and property exists fix