Allow user to set field type in config file