Run flag parser on init (ensures consistent values of env exported variables).