Import until imported

Wasn't being clever enough: 
- factor out expansion of includes
- use this in `PlominoScriptException` also.