added appRootPath var to config