Moved some settings to pre-configure stage because yaml/config files need to be loaded from args before