fixed cProps_for_device.py and tweaks