Added option to set identity in config