add state, with urls to turn on/off and pop command