moved script block