move configs to head of file