fixed script call method