add instance type mapping support, need to update the config for this