Added metadata writing