added support for load_metadata instruction