fixed directory maneuvering. Tried getting tags but data was corrupted, I think.