Add ability to pass env vars, make output match dot reporter better, fix error handling