simplify command dispatcher in prepare_assets