added configfile support
check for mac
update