added reading and writing working directory meta data