little change in teamimage script