added gtmState.py
added enhanced logging scripts