add get functions for savedir and confdir