change retrieveall command to retrievemetadata