Moved the set_tags call to after the ip address of the instance hasben acquired. Better assurance that the instance_id will be able to take the Name tage.