rmed build and dist