fix teamimage script