adding autorun with medic