more scripts involving closure