moved script call