Added do_metaread and write sys calls