Added quit to imc