standardize file locations for rootdir etc