add directory for each frame