Change order of imports.

Otherwise segment background colour override when running doesn't work.
Might need a better solution for this long term.