next script