removed unused images. Added automatic replacement of an already placed card