modified print method for card to motl script