Added some rails for activating a card