Read config depending on env or argv