modified configure instanceid variable.