added picture disabling feature