Corrected script task