Flattening nipype imports in scripts
Add some more intelligence to subject determination