Added downloaddir variable to pathcfg