1st: .csh and SampleManager.py fixes