Add console mode by making URL optional