fix copy to tiny script