python scripts in cardvalue