added code to remove superfluous items from the AGREE analysis menu