reorder dependancies to load logger early