name printing script updated