1. Added detector configuration output.
2. Improved read.py