pass install to custom seed_cmd, simplify code